package org.hr.xtime.absence

import org.hr.xtime.user.Employee


class Request {

    static constraints = {
		requestor()
		days()
		status()
		requestDate()
		approvalDate(nullable:true)
		approver()
    }
	
	static hasMany = [days:Day]
	
	Employee requestor
	Employee approver
	Date requestDate
	Date approvalDate
	String status
}
